/*
 * RecommendBooks.fx
 * Author : Yu Min-ting
 * Created on 2009-7-13, 16:04:02
 */

package com.sjtu.fx.book;

import javafx.scene.*;
import javafx.stage.Stage;
import com.sjtu.fx.tools.Panel;

public class RecommendBooks extends CustomNode {
    var panel:Panel;

    override protected function create() : Node {
        Group{
            content:[
                 panel = Panel {
                    width:    465
                    height:   240
                    title:    "You May Like..."
                    translateX: 0
                    translateY: 0
                },



            ]
        }
     }

function run() {
    Stage {
       width: 350 height: 300
        scene: Scene {
            content: [
                TopBooks {translateX: 40 translateY: 40}
            ]
        }
    }
}


}
